<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>login</title>
    <link rel="stylesheet" media="all" href="${pageContext.request.contextPath}/static/layui-v2.5.5/layui-v2.5.5/layui/css/layui.css">
    <style>
        body{margin: 10px;}
        .demo-carousel{height: 200px; line-height: 200px; text-align: center;}
        .retange{
            position: relative;
            top: 100px;
            margin: auto auto;
            width:500px;
            height: 700px;
            background-color: #FFFFFF;
            -moz-border-radius: 24px;
            -webkit-border-radius: 24px;
            border-radius: 24px;
            opacity: 0.8;
            -moz-opacity: 0.8;
        }
        .library-icon{
            position: relative;
            top: 30px;
            margin: auto auto;
            width: 112px;
            height: 112px;
            background-image: url("${pageContext.request.contextPath}/static/icon/book.png");
            background-size: cover;
        }
        .list{
            padding-top: 0px;
            color:#063a6a;
            font-size: 36px;
            float: left;
            font-weight: bold;
            padding-left: 20px;
            padding-bottom: 10px;
        }
        .input{
            background-color:white;
            border-radius: 10px;
            border: solid thin #063a6a;
            height: 40px;
            width: 340px;
            padding-left: 20px;
            margin-bottom: 30px;
            margin-left: 10px;
        }
        .check{

            background-color:white;
            border-radius: 10px;
            border: solid thin #063a6a;
            height: 40px;
            width: 266px;
            padding-left: 20px;
            margin-bottom: 30px;
            margin-left: 10px;

        }
        .login-form{
            margin-top: 40px;
        }
        .button{
            height: 100px;
            padding-left: 38%;
            margin-top: -8px;
        }

        .h5{
            margin-top: -4px;
            padding-left: 188px;
        }
        .h5 a{
            color: slategray;

        }
        .submit{
            background-color: #063a6a;
            width: 120px;
            height: 50px;
            color: white;
            font-size: 28px;
            margin-left: 178px;
            margin-top: -14px;
            border-radius: 8px;

        }
        .radio{
            font-size: 24px;
            padding-top: 10px;
            padding-left: 10px;
            padding-right: 30px;
            margin-bottom: 30px;
        }

    </style>

    <script type="text/javascript">
    function isValid(form){
        if(form.User_id.value===""){
            alert("用户名不能为空！");
            return false;
        }
        if(form.Chain_name.value===""){
            alert("用户名不能为空！");
            return false;
        }
        if(form.User_name.value===""){
            alert("用户名不能为空！");
            return false;
        }
        if(form.password.value!==form.repassword.value){
            alert("两次输入的密码不同！");
            return false;
        }
        if(form.password.value===""){
            alert("密码不能为空！");
            return false;
        }
        if(form.repassword.value===""){
            alert("请再次输入密码！");
            return false;
        }
        return true;
    }
</script>
</head>
<body>
<div class="retange">
    <div class="library-icon"></div>
    <div class="login-table">
        <div class="login-form">
            <form method="post" >
                <div class="list">账号:</div>
                <input type="text" class="input" name="User_id" >
                <div class="list">昵称:</div>
                <input type="text" class="input" name="Chain_name">
                <div class="list">名字:</div>
                <input type="text" class="input" name="User_name">
                <div >
                    <label class="list">性别:</label>
                    <label class="radio"> <input type="radio" class="radio" name="sex" value="男" title="男" style="padding-left: 10%;">男</label>
                    <label class="radio"> <input type="radio" class="radio" name="sex" value="女" title="女" checked>女</label>
                </div>

                <br>
                <div class="list">电话:</div>
                <input class="input" type="text" name="Tel">
                <div class="list">密码:</div>
                <input type="text" class="input" name="password">
                <div class="list">确认密码:</div>
                <input type="text" class="check" name="repassword">
                <br>
                <input type="submit" onClick="" value = " 确认 " class="submit">
            </form>
        </div>
    </div>
</div>
</body>
</html>
